// 购物车页面样式
.container {
  padding-bottom: 80px;
  background-color: #f1f1f1;
  width: 100%;
  height: 100%;
  // 覆盖 antd-mobile 复选框主题色（作用域仅限本页容器内）
  :global(.adm-checkbox) {
    --adm-color-primary: #EB5852;
  }
}


// 空状态样式
.emptyState {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
}

.emptyIcon {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #f7f8fa;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
}

.emptyText {
  font-size: 16px;
  color: #999;
}

// 购物车列表项样式
.cartItem {
  display: flex;
  padding: 12px;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
  background-color: #fff;
  margin-top: 10px;
}

.itemCheckbox {
  margin-right: 8px;

}

.itemImage {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
}

.itemInfo {
  flex: 1;
  margin-left: 12px;
}

.titleRow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.otcTag {
  background: #00C853;
  color: #fff;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 10px;
}

.itemTitle {
  font-size: 10px;
  color: #333;
}

.itemSpecs {
  color: #999;
  margin-top: 4px;
  font-size: 12px;
}

.itemPrice {
  color: #ff4d4f;
  font-weight: 600;
  margin-top: 6px;
}

.quantityControls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.quantityBtn {
  width: 30px;
  height: 28px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.quantityDisplay {
  width: 24px;
  text-align: center;

}

.deleteBtn {
  margin-left: 8px;
  border: none;
  background: transparent;
  color: #de2929;
  cursor: pointer;
}
//上方文字
.noticebox{
 position: fixed;
  left: 0;
  right: 0;
  bottom: 48px; 
  height: 60px;
  p{
     font-size: 11px;  
  }

}
// 全选栏样式
.selectAllBar {
  display: flex;
  align-items: center;
  padding: 12px;

}

.selectAllCheckbox {
  margin-right: 8px;
}

.selectAllText {
  font-size: 14px;
  color: #333;
}


// 底部结算条样式
.checkoutBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
}

.totalInfo {
  flex: 1;
  color: #333;
margin-left: 80px;
font-size: 14px;
}

.totalPrice {
  color: #ff4d4f;
  font-weight: 700;
}

.checkoutBtn {
  background: linear-gradient(90deg, #FF9F41, #FF3B30);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 24px;
  cursor: pointer;
}